package com.demo.gulimall.seckill.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author Chen Yuan
 * @create 2023-08-07  15:11
 */
@Configuration
@EnableScheduling // 开启定时任务
@EnableAsync // 开启异步任务
public class ScheduledConfig {
}
